home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 917 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.3 KB  |  41 lines

  1. Newsgroups: comp.lang.c,comp.os.os2.programmer.misc
  2. Path: news.fyi.net!news
  3. From: fireresq@fyi.net
  4. Subject: Re: redefining stdout and stderr
  5. X-Nntp-Posting-Host: 204.179.83.8
  6. Message-ID: <DKy5A3.9sE@fyi.net>
  7. Sender: news@fyi.net (News User)
  8. Reply-To: fireresq@fyi.net
  9. Organization: FYI Networks
  10. X-Newsreader: IBM NewsReader/2 v1.2
  11. References: <DKw9Cv.2x4@fyi.net> <4ctfij$77o@baloo.pipex-sa.net>
  12. Date: Wed, 10 Jan 1996 03:49:15 GMT
  13.  
  14. it returns to VisualAge and passes the objects it created to 
  15. VA to continue processing in smalltalk
  16.  
  17. In <4ctfij$77o@baloo.pipex-sa.net>, thierry@solo.pipex.co.za writes:
  18. >In <DKw9Cv.2x4@fyi.net>, fireresq@fyi.net writes:
  19. >>everyting I am doing is running on OS/2 Warp Connect and using the IBM 
  20. >>Set++ compiler.
  21. >>
  22. >>I have a program that I have converted form an exe to a DLL.  I used many
  23. >>printf's for debug and status information.
  24. >>
  25. >>What I want to do is cause stdout and stderr to go to a file but since 
  26. >>this dll will be called from VisualAge I cannot redirect the output with >.
  27. >>
  28. >[...]
  29. >>Thanks in advance!
  30. >>Mark Russell.
  31. >
  32. >Close the handles 1 and 2 (stdout and stderr) then open your file.
  33. >Use DosDupHandle (or the lib equivalent) to get your redirection.
  34. >
  35. >What will happend when your DLL returns ??????
  36. >
  37. >//---------------------------
  38. >Thierry de Montaudry
  39. >thierry@solo.pipex.co.za
  40.  
  41.